package com.shop.service;

import com.github.pagehelper.PageInfo;
import com.shop.entity.seckillProducts;

public interface seckillProductsService {
    /**
     * 获取所有秒杀商品
     * @return
     */
    PageInfo<seckillProducts> listSeckillProducts();

    /**
     * 添加秒杀商品
     * @param seckillProducts
     */
    void addSeckillProducts(seckillProducts seckillProducts);

    /**
     * 修改秒杀商品
     * @param seckillProducts
     */
    void updateSeckillProducts(seckillProducts seckillProducts);
}
